<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Classificados 1,99</title>
	<f:facet name="last">
		<h:outputStylesheet library="css" name="bootstrap.min.css"/>
		<h:outputStylesheet library="css" name="bootstrap-theme.min.css"/>
	</f:facet>
</h:head>
<h:body>
	<div class="container">
	  
		<h:form>
		
		<h:commandButton action="list_usuario" value="voltar"/> <br/>
		
		<p:messages showDetail="false" showSummary="true" closable="true"/>
		
		<h:panelGrid  columns="2">
			<h:outputLabel value="Nome:"/>
		    <h:inputText value="#{usuarioBean.usuarioSelecionado.nome}"/>
			<h:outputText value="E-mail:"></h:outputText>
			<h:inputText value="#{usuarioBean.usuarioSelecionado.email}"/>
			<h:outputText value="Senha:"></h:outputText>
		    <h:inputSecret />
			<h:outputText value="Confirmar senha:"></h:outputText>
		    <h:inputSecret />
		    <h:outputLabel/>
		    <h:commandButton value="Salvar" actionListener="#{usuarioBean.salvar}"/>
		</h:panelGrid>
		
		
		</h:form>
		
	</div> 

	<h:outputScript name="bootstrap.min.js" library="js"/>
</h:body>
</html>